home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
176-200
/
disk_183
/
mklib
/
edlib
/
isbdigit.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
247b
|
16 lines
/* edlib version 1.0 of 04/08/88 */
/*
tests whether the given character could be a binary digit
*/
#include <stdio.h>
int isbdigit(c)
char c;
{
if ( c == '1' || c == '0' ) {
return(1);
} else {
return(NULL);
}
}